import actionType from './actionType'

export function toggleDrag(state) {
	return { type: actionType.TOGGLE_DRAGING, state }
}
export function toggleScale(state) {
	return { type: actionType.TOGGLE_SCALING, state }
}
export function toggleFreeDraw(state) {
	return { type: actionType.TOGGLE_FREE_DRAWING, state }
}
export function toggleErase(state) {
	return { type: actionType.TOGGLE_ERASE, state }
}
export function toggleMagneticPoint(state) {
	return { type: actionType.TOGGLE_MAGNETIC_POINT, state }
}
